/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  column: [
	  {
      label: '主键',
      prop: 'id',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '借款方账号',
      prop: 'userId'
    },
	  {
      label: '模块名称',
      prop: 'modularId',
      type: 'select',
      dicUrl: '/insurance/foreign/modelIdDict',
    },
	  {
      label: '总额度',
      prop: 'totalQuota'
    },
	  {
      label: '可用额度',
      prop: 'availableQuota'
    },
	  {
      label: '创建时间',
      prop: 'createTime',
      type:"datetime",
      valueFormat:"yyyy-MM-dd HH:mm:ss",
    },
	  {
      label: '结束时间',
      prop: 'endTime',
      type:"datetime",
      valueFormat:"yyyy-MM-dd HH:mm:ss",
    },
	  {
      label: '授信状态',
      prop: 'status',
      type: 'select',
      dicUrl: '/admin/dict/type/insurance_granting_status',
      addDisplay:false,
    },
	  {
      label: '备注',
      prop: 'remarks',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '描述',
      prop: 'des',
      hide:true,
      addDisplay:false,
    },
	  {
      label: '删除标记（0.显示   1.隐藏）',
      prop: 'delFlag',
      hide:true,
      addDisplay:false,
    },
  ]
}
